package dataset.generation;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

import org.mitre.jawb.io.SgmlDocument;

public class SgmltoText {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws FileNotFoundException 
	 */
	public static void main(String[] args) throws FileNotFoundException, IOException {
		
		SgmlDocument sgml = new SgmlDocument(new FileReader(new File("/home/pjbarrio/Documents/RelationExtractionStuff/JSRE/jsre/jsre-1.1/jsre-1.1/examples/natural_disaster/files/2")));
		
		System.out.println(sgml.getSignalText());

	}

}
